<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Sets the SWF version</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ming-useconstants.html">ming_useconstants</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.swfaction.html">SWFAction</a></div>
 <div class="up"><a href="ref.ming.html">Ming 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.ming-useswfversion" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ming_useswfversion</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.2.0, PHP 5 &lt;= 5.3.0, PECL ming SVN)</p><p class="refpurpose"><span class="refname">ming_useswfversion</span> &mdash; <span class="dc-title">Sets the SWF version</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.ming-useswfversion-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>ming_useswfversion</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$version</code></span>
   )</div>

  <p class="para rdfs-comment">
   Sets the SWF version to be used in the movie. This affect the bahaviour
   of Action Script.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ming-useswfversion-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">version</code></em></dt>

     <dd>

      <p class="para">
       SWF version to use.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ming-useswfversion-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   没有返回值。
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.ming-useswfversion-examples">
  <h3 class="title">范例</h3>
  <p class="para">
   <div class="example" id="example-3447">
    <p><strong>Example #1 <span class="function"><strong>ming_useswfversion()</strong></span> example</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br />$movie&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">SWFMovie</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">ming_useswfversion</span><span style="color: #007700">(</span><span style="color: #0000BB">4</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;Flash&nbsp;4<br /><br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
    </div>

   </div>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ming-useconstants.html">ming_useconstants</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.swfaction.html">SWFAction</a></div>
 <div class="up"><a href="ref.ming.html">Ming 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
